package com.Service;import com.Repository.UserRepository;import com.User.User;import org.springframework.context.annotation.Bean;import org.springframework.stereotype.Service;@Servicepublic class UserService {    UserRepository repository;    public UserService(UserRepository repository)    {        this.repository = repository;    }    public User getUser()    {        return repository.getUser();    }}